/**
 * 作者: hxl
 * 日期: 2025-03-15 15:31:25
 * 备注: 限时充值任务类型配置表
 */
package com.motu.monstercity.server.game.commondata.act;

import io.vertx.core.json.JsonObject;

public class ActRechargeTaskTypeModel {
    protected int id; // id
    protected int taskType; // 充值任务类型
    protected int type; // 重置类型

    public ActRechargeTaskTypeModel() {
    }

    public ActRechargeTaskTypeModel(JsonObject obj) {
        id = obj.containsKey("id") ? obj.getInteger("id") : 0;
        taskType = obj.containsKey("task_type") ? obj.getInteger("task_type") : 0;
        type = obj.containsKey("type") ? obj.getInteger("type") : 0;
    }

    public int getId() {
        return id;
    }

    public int getTaskType() {
        return taskType;
    }

    public int getType() {
        return type;
    }

}
